package com.dog.basics.bean.dto.api.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author hangdy
 * @description: 用户地址
 * @date 2020/11/25 17:07
 */
@Data
public class ApiUserAddrPageDto {
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "id", dataType = "Long", required = true)
    private Long userId;

    /**
     * 是否是默认地址
     */
    @ApiModelProperty(value = "是否是默认地址0否 1是", dataType = "Integer", required = false)
    private Integer commonAddr;
}
